<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="/favicon.ico">

    <title>crud</title>

    <!-- Bootstrap core CSS -->
    <link href="/webjars/bootstrap/4.4.1/css/bootstrap.min.css" rel="stylesheet">

    <style>

        .shift-lang{

            margin-top: 20px;
        }

    </style>
</head>

<body>

<div class="container">

    <form class="form-signin">
        <h2 class="form-signin-heading" th:text="#{please_sign_in}"></h2>
        <label for="inputEmail" class="sr-only" th:text="#{username}"></label>
        <input type="email" id="inputEmail" class="form-control" th:placeholder="#{username}" required autofocus>
        <label for="inputPassword" class="sr-only" th:text="#{password}"></label>
        <input type="password" id="inputPassword" class="form-control" th:placeholder="#{password}" required>
        <div class="checkbox">
            <label>
                <input type="checkbox" value="remember-me"> [[#{rememberme}]]
            </label>
        </div>
        <button class="btn btn-lg btn-primary btn-block" type="submit" th:text="#{sign_in}"></button>
        <div class="row shift-lang">
            <div class="col-sm-2 offset-5">
                <div class="row">
                    <div class="col-sm-6"><a href="#" th:href="@{/templates/index01.html(lang='zh_CN')}">中文</a></div>
                    <div class="col-sm-6"><a href="#" th:href="@{/templates/index01.html(lang='en_US')}">english</a></div>
                </div>
            </div>
        </div>
    </form>

</div> <!-- /container -->

</body>
</html>
